import {useNavigate} from 'react-router-dom'
import {Button} from '@mui/material'
import { home_path } from '../../utils/system/system'
const DashBoard = () => {
  const navigate = useNavigate()
  const turnBackHome = () => {
    navigate(home_path)
  }
  return (
    <div style={{width: '100%', height: '100%'}}>
      这是大屏页面，没有导航栏，由于是测试项目，没有导航栏，如需退回请手动修改url
      <div>
        <Button variant="contained" onClick={() => turnBackHome()}>返回首页</Button>
      </div>
    </div>
  )
}

export default DashBoard